package com.walleipt.demo.ioc.factorBean;

import org.springframework.beans.factory.FactoryBean;

public class MyFactoryBean implements FactoryBean<BeanA> {

	@Override
	public BeanA getObject() throws Exception {
		return new BeanA();
	}

	@Override
	public Class<?> getObjectType() {
		return BeanA.class;
	}

	@Override
	public boolean isSingleton() {
		return true;
	}

}
